import request from '@/utils/request'

// 登录注册
export const login = (data) => {
  return request.post('/v1_0/authorizations', data)
}

// 获取用户个人资料
export const getUserInfo = () => {
  return request.get('/v1_0/user/profile')
}
